<%@ page language="java" contentType="text/html; charset=UTF-8"	%>
<%@ include file="/basecore/taglibs.jsp"%>
<html>
<head>
	<title>Basic JMesa Example</title>
	<%@ include file="/basecore/meta.jsp"%>	
	<script src="${contextPath}/webresource/js/jquery.min.js" type="text/javascript" ></script>
	<script src="${contextPath}/webresource/js/jquery.corner-min.js" type="text/javascript" ></script>
	<script src="${contextPath}/webresource/js/jquery.form.js" type="text/javascript" ></script>
	<script type="text/javascript" src="${contextPath}/webresource/components/jmesa/jmesa.js"></script>
	<script type="text/javascript" src="${contextPath}/webresource/components/jmesa/jmesa.min.js"></script>
	<script type="text/javascript" src="${contextPath}/webresource/components/jmesa/juery.jmesa.min.js"></script>
	<script type="text/javascript" src="${contextPath}/webresource/components/jmesa/juqery.jmesa.js"></script>
	
	<link href="${contextPath}/webresource/components/jmesa/jmesa.css" type="text/css" rel="stylesheet"/>
	<link href="${contextPath}/webresource/components/jmesa/jmesa-pdf.css" type="text/css" rel="stylesheet"/>
	
</head>
<body>	
	<br><br>
	<form name="presidentsForm" action="${pageContext.request.contextPath}/basicController.wit">
	   ${presidents}
	</form>	
	
	
<script type="text/javascript">
function onInvokeAction(id) {
	setExportToLimit(id, '');
	createHiddenInputFieldsForLimitAndSubmit(id);
}
function onInvokeExportAction(id) {
	var parameterString = createParameterStringForLimit(id);
	location.href = '${pageContext.request.contextPath}/presidents.run?' + parameterString;
}
</script>

</body>

</html>
